<template>
  <view class="page-container">
    <view class="header">
      <text class="title">应援活动</text>
    </view>

    <view class="content-list">
      <view v-for="i in 6" :key="i" class="content-item">
        <view class="item-header">
          <text class="item-title">粉丝应援活动 {{i}}</text>
          <text class="item-time">2023-12-{{i < 10 ? '0'+i : i}}</text>
        </view>
        <text class="item-desc">正在火热进行中的粉丝应援活动，参与赢取独家福利</text>
      </view>
    </view>

    <custom-tab-bar :current="1" />
  </view>
</template>

<script>
import CustomTabBar from '@/components/custom-tab-bar.vue'

export default {
  components: {
    CustomTabBar
  },
  onLoad() {
    console.log('当前页面路径:', getCurrentPages()[0].route);
  }
}
</script>

<style lang="scss" scoped>
.page-container {
  padding: 40rpx 30rpx;
  padding-bottom: 170rpx;
}

.header {
  margin-bottom: 60rpx;
  
  .title {
    font-size: 36rpx;
    color: #333;
    font-weight: 600;
  }
}

.content-list {
  display: grid;
  gap: 30rpx;
}

.content-item {
  background: #fff;
  border-radius: 16rpx;
  padding: 30rpx;
  box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.08);
  
  .item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20rpx;
    
    .item-title {
      font-size: 30rpx;
      color: #FF3366;
      font-weight: 500;
    }
    
    .item-time {
      font-size: 26rpx;
      color: #999;
    }
  }
  
  .item-desc {
    font-size: 28rpx;
    color: #666;
    line-height: 1.6;
  }
}

@media (max-width: 375px) {
  .page-container {
    padding: 30rpx 20rpx;
  }
  
  .content-item {
    padding: 20rpx;
    
    .item-title {
      font-size: 28rpx;
    }
    
    .item-desc {
      font-size: 26rpx;
    }
  }
}
</style> 